<!--<include file="public+header">-->

<!--{script}-->
checkForm(SubmitFormCheckform);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<if condition="empty( $_GET['value'] )" >-->添加积分配置<!--<else/>-->编辑积分配置<!--</if>--></a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li>温馨提示：积分配置模块只能是英文。</li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<if condition="empty( $_GET['value'] )" >-->添加积分配置<!--<else/>-->编辑积分配置<!--</if>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Admin_Extend::base(array('controller'=>'jiajucreditconfig'))}-->">积分配置列表</a></li>
				</ul>
			</header>
			<form action="" method="post" id="jiajucreditconfigAdd" class="validate">
				<div class="module_content">
					<fieldset>
						<label for="jiajucreditconfig_name">配置名称</label>
						<input type="text" name="jiajucreditconfig_name" id="jiajucreditconfig_name" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_name}--><!--</if>-->" class="{required:true,maxlength:50}"/>
						<div class="description input_tips">配置显示的名称</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_module">配置模块</label>
						<input type="text" name="jiajucreditconfig_module" id="jiajucreditconfig_module" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_module}--><!--</if>-->" class="{required:true,stringCheckThree:true,maxlength:30,remote:'<!--{:Admin_Extend::base(array('controller'=>'jiajucreditconfig','action'=>'check_module'),isset( $oValue )?'value='.$oValue['jiajucreditconfig_id']:'')}-->',messages:{remote:'<!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->配置模块已经存在，请修改<!--</lang>-->'}}"/>
						<div class="description input_tips">需要配置的模块，填写名称与模块名称保持一致</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_add">每次增加的积分</label>
						<input type="text" name="jiajucreditconfig_add" id="jiajucreditconfig_add" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_add}--><!--</if>-->" class="{required:true,digits:true,min:0}"/>
						<div class="description">每次默认增加的积分，请填写非负数</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_cut">每次减少的积分</label>
						<input type="text" name="jiajucreditconfig_cut" id="jiajucreditconfig_cut" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_cut}--><!--</if>-->" class="{required:true,digits:true,min:0}"/>
						<div class="description">每次默认减少的积分，请填写非负数</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_daycount">每天的积分上限</label>
						<input type="text" name="jiajucreditconfig_daycount" id="jiajucreditconfig_daycount" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_daycount}--><!--</if>-->" class="{required:true,digits:true,min:0}"/>
						<div class="description">每天的商家在该模块下的积分上限，请填写非负数，0为不限制</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_monthcount">每月的有效次数</label>
						<input type="text" name="jiajucreditconfig_monthcount" id="jiajucreditconfig_monthcount" size="40" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_monthcount}--><!--</if>-->" class="{required:true,digits:true,min:0}"/>
						<div class="description">模块在每月的积分次数，0不限制</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_addtips">增加积分时的提示</label>
						<textarea name="jiajucreditconfig_addtips" id="jiajucreditconfig_addtips" class="{maxlength:250}" style="width:300px;height:60px;"><!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_addtips}--><!--</if>--></textarea>
						<div class="description">每次增加积分的提示内容</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_cuttips">减少积分时的提示</label>
						<textarea name="jiajucreditconfig_cuttips" id="jiajucreditconfig_cuttips" class="{maxlength:250}" style="width:300px;height:60px;"><!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_cuttips}--><!--</if>--></textarea>
						<div class="description">每次减少积分时的提示</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_counttips">积分达到上限的提示</label>
						<textarea name="jiajucreditconfig_counttips" id="jiajucreditconfig_counttips" class="{maxlength:250}" style="width:300px;height:60px;"><!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_counttips}--><!--</if>--></textarea>
						<div class="description">积分达到每天的上限的时候的提示内容</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_monthtips">次数达到上限的提示</label>
						<textarea name="jiajucreditconfig_monthtips" id="jiajucreditconfig_monthtips" class="{maxlength:250}" style="width:300px;height:60px;"><!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucreditconfig_monthtips}--><!--</if>--></textarea>
						<div class="description">每月积分次数达到上限时的提示</div>
					</fieldset>
					<fieldset>
						<label for="jiajucreditconfig_status"><!--<lang package='Template'>-->状态<!--</lang>--></label>
						<select class="field" name="jiajucreditconfig_status">
							<option value="1" <!--<if condition="!isset( $oValue ) || ( isset( $oValue ) && $oValue:jiajucreditconfig_status==1)">-->selected<!--</if>-->><!--<lang package='Template'>-->启用<!--</lang>--></option>
							<option value="0" <!--<if condition="isset( $oValue ) && $oValue:jiajucreditconfig_status==0">-->selected<!--</if>--> ><!--<lang package='Template'>-->禁用<!--</lang>--></option>
						</select>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="hidden" name="value" id="value" value="<!--<if condition="isset( $_GET['value'] )">--><!--{$_GET['value']}--><!--</if>-->"/>
						<input type="submit" id="submit_button" value="" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->